<template>
	<view>
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center wodejuzhuguanli_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub wodejuzhuguanli_fd0_0'>
					<view class='flex flex-wrap align-center wodejuzhuguanli_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  wodejuzhuguanli_fd0_0_c0_c0'>&#xE794;</text>
					</view>
					<view class='flex flex-wrap align-stretch justify-center'>
						<text class='wodejuzhuguanli_fd0_0_c1_c0'>我的居住管理</text>
					</view>
					<view class='flex flex-wrap align-center justify-end wodejuzhuguanli_fd0_0_c0'
						@tap.stop="handleJumpDiy" data-type="navigateTo"
						:data-url="`/pages/grzx/residentialSupervision/residentialSupervision`">
						<text>我要监督</text>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---flex布局flex布局开始-->
			<view class="flex benben-flex-layout flex-wrap align-center wodejuzhuguanli_flex_1">
				<view class='flex flex-wrap align-center wodejuzhuguanli_fd1_0' v-for="(item,index) in arrList"
					:key="index">
					<view class='flex flex-wrap align-center justify-between wodejuzhuguanli_fd1_0_c0'>
						<text class='wodejuzhuguanli_fd1_0_c0_c0'>居住监督</text>
						<text class='wodejuzhuguanli_fd1_0_c0_c1'>{{item.state_name}}</text>
					</view>
					<view class='flex flex-wrap align-stretch wodejuzhuguanli_fd1_0_c1'>
						<image class='wodejuzhuguanli_fd1_0_c1_c0' mode="aspectFit"
							v-if="item.evidence_collection_records[0]" :src='item.evidence_collection_records[0]'>
						</image>
						<image class='wodejuzhuguanli_fd1_0_c1_c0' mode="aspectFit" v-else :src='STATIC_URL+"33.png"'>
						</image>
						<view class='flex flex-direction flex-wrap align-stretch justify-between'>
							<view class='flex flex-direction flex-wrap align-stretch'>
								<text class='wodejuzhuguanli_fd1_0_c1_c1_c0_c0'>{{item.region}}</text>
								<text class='wodejuzhuguanli_fd1_0_c1_c1_c0_c1'>房屋类型：{{item.house_name}}</text>
							</view>
							<text class='wodejuzhuguanli_fd1_0_c1_c1_c1'>{{item.detailed_address}}</text>
						</view>
					</view>
					<view class='flex flex-wrap align-center justify-end wodejuzhuguanli_fd1_0_c2'
						@tap.stop="clickDetails(item.aid)">
						<view
							class='flex flex-wrap align-center self-center justify-center wodejuzhuguanli_fd1_0_c2_c0'>
							<text class='wodejuzhuguanli_fd1_0_c2_c0_c0'>撤销</text>
						</view>
					</view>
				</view>
				<view v-if="arrList.length == 0" class="flex align-center justify-center" style="width: 100%;">
					<fu-empty-ui></fu-empty-ui>
				</view>
				<!-- <view class='flex flex-wrap align-center wodejuzhuguanli_fd1_0'>
                    <view class='flex flex-wrap align-center justify-between wodejuzhuguanli_fd1_0_c0'>
                        <text class='wodejuzhuguanli_fd1_0_c0_c0'>居住监督</text>
                        <text class='wodejuzhuguanli_fd1_0_c0_c1'>已受理</text>
                    </view>
                    <view class='flex flex-wrap align-stretch wodejuzhuguanli_fd1_0_c1'>
                        <image class='wodejuzhuguanli_fd1_0_c1_c0' mode="aspectFit" :src='STATIC_URL+"33.png"'></image>
                        <view class='flex flex-direction flex-wrap align-stretch justify-between'>
                            <view class='flex flex-direction flex-wrap align-stretch'>
                                <text class='wodejuzhuguanli_fd1_0_c1_c1_c0_c0'>河南省郑州市二十七区</text>
                                <text class='wodejuzhuguanli_fd1_0_c1_c1_c0_c1'>房屋类型：写字楼</text>
                            </view>
                            <text class='wodejuzhuguanli_fd1_0_c1_c1_c1'>华城国际中心</text>
                        </view>
                    </view>
                </view> -->
			</view>

			<!---flex布局flex布局结束-->


		</view>
	</view>
</template>
<script>
	export default {
		components: {},


		data() {
			return {
				arrList: [],
			};
		},
		computed: {

		},
		watch: {},
		onLoad(options) {
			
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {
			this.getList()
		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {
			this.getList()
		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			clickDetails(aid) {
				uni.navigateTo({
					url: `/pages/grzx/residentialSupervision/residentialSupervision?aid=${aid}`
				})
			},
			getList() {
				this.$api.post('/m6752/6724801c67d34').then(res => {
					if (res.data.code == 1) {
						this.arrList = res.data.data.data
					}
				})
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #F8F8F8;
		background-size: 100% auto;
	}

	.wodejuzhuguanli_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.wodejuzhuguanli_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
		line-height: 50rpx;
	}

	.wodejuzhuguanli_fd0_0_c0_c0 {
		font-size: 36rpx;
		color: #333;
	}

	.wodejuzhuguanli_fd0_0_c0 {
		width: 120rpx;
	}

	.wodejuzhuguanli_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.wodejuzhuguanli_flex_1 {
		padding: 0rpx 24rpx 0rpx 24rpx;
	}

	.wodejuzhuguanli_fd1_0_c2_c0_c0 {
		color: #FFFFFF;
		font-size: 24rpx;
		font-weight: 400;
	}

	.wodejuzhuguanli_fd1_0_c2_c0 {
		background: #FC5F80;
		border-radius: 30rpx 30rpx 30rpx 30rpx;
		width: 164rpx;
		height: 60rpx;
	}

	.wodejuzhuguanli_fd1_0_c2 {
		border-top: 1px solid #eee;
		width: 100%;
		margin: 32rpx 0rpx 0rpx 0rpx;
		padding: 24rpx 0rpx 0rpx 0rpx;
	}

	.wodejuzhuguanli_fd1_0_c1_c1_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 500;
	}

	.wodejuzhuguanli_fd1_0_c1_c1_c0_c1 {
		color: #666666;
		font-size: 22rpx;
		font-weight: 400;
		margin: 16rpx 0rpx 0rpx 0rpx;
	}

	.wodejuzhuguanli_fd1_0_c1_c1_c0_c0 {
		color: #333333;
		font-size: 32rpx;
		font-weight: 500;
	}

	.wodejuzhuguanli_fd1_0_c1_c0 {
		width: 216rpx;
		height: 192rpx;
		border-radius: 16rpx;
		margin: 0rpx 20rpx 0rpx 0rpx;
	}

	.wodejuzhuguanli_fd1_0_c1 {
		width: 100%;
		margin: 24rpx 0rpx 0rpx 0rpx;
	}

	.wodejuzhuguanli_fd1_0_c0_c1 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
	}

	.wodejuzhuguanli_fd1_0_c0_c0 {
		color: #666666;
		font-size: 22rpx;
		font-weight: 400;
	}

	.wodejuzhuguanli_fd1_0_c0 {
		width: 100%;
	}

	.wodejuzhuguanli_fd1_0 {
		background: #FFFFFF;
		width: 100%;
		margin: 24rpx 0rpx 0rpx 0rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		padding: 24rpx 24rpx 32rpx 24rpx;
	}
</style>